package com.example.project.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import org.springframework.web.bind.annotation.GetMapping;

/**
 *  UN_REVIEW(1,"审核中"),
 *     SUCCESS_REVIEW(2,"通过"),
 *     FAIL_REVIEW(3,"拒绝")
 */
@AllArgsConstructor
@NoArgsConstructor
@Getter
public enum ReviewStateEnum {

    UN_REVIEW(1,"审核中"),
    SUCCESS_REVIEW(2,"通过"),
    FAIL_REVIEW(3,"拒绝"),
    ANNUL_REVIEW(4,"撤销申请")
    ;
    private int id;

    private String name;
}
